﻿<script>
	var dict=@Html.Raw(Language.GetDict());//中英文
</script>
<nav class="menu-box">
    <ul>
       @*<li><i class="home-icon"></i><a href="#">@Language.Get("首页")</a></li>*@
        	<li><i class="diamonds-icon"></i>@Language.Get("货品查找")<i class="more-nav-icon"></i>
            <ol class="more-menu">
          	@{
                if (Wholesaler.Common.GetOpenMenu.IsOpenMenu("productSearch.diamond") == true)
                {
                	<li><a class="external" onclick="toPage('/Customer/WhiteDias?team=0')" href="#">@Language.Get("裸钻")</a></li>
            	}
                if (Wholesaler.Common.GetOpenMenu.IsOpenMenu("productSearch.inlaysettings") == true)
                {
                <li><a class="external" onclick="toPage('/Customer/inlaysettings?team=0')" href="#">@Language.Get("空托")</a></li>
            	}
                if (Wholesaler.Common.GetOpenMenu.IsOpenMenu("productSearch.parcel") == true)
                {
                <li><a class="external" onclick="toPage('/Customer/WhiteParcels?team=0')" href="#">@Language.Get("统包")</a></li>
                }
                if (Wholesaler.Common.GetOpenMenu.IsOpenMenu("productSearch.ring") == true)
                {
                <li><a class="external" onclick="toPage('/Customer/Ring?team=0')" href="#">@Language.Get("成品")</a></li>
            	}
                if (Wholesaler.Common.GetOpenMenu.IsOpenMenu("productSearch.gem") == true)
                {
                <li><a class="external" onclick="toPage('/Customer/Gem?team=0')" href="#">@Language.Get("彩宝")</a></li>
            	}
                if (Wholesaler.Common.GetOpenMenu.IsOpenMenu("productSearch.emerald") == true)
                {
                <li><a class="external" onclick="toPage('/Customer/Emerald?team=0')" href="#">@Language.Get("翡翠")</a></li>
            	}
                if (Wholesaler.Common.GetOpenMenu.IsOpenMenu("productSearch.gold") == true)
                {
                <li><a class="external" onclick="toPage('/Customer/PrimeGold?team=0')" href="#">@Language.Get("素金")</a></li>
            	}
            }
            </ol>
        </li>
    	<li><i class="cart-icon"></i>@Language.Get("购物车")<i class="more-nav-icon"></i>
            <ol class="more-menu">
            @{
				if(Wholesaler.Common.GetOpenMenu.IsOpenMenu("cart.diamond")==true){
                	<li><a class="external" href="/Customer/DiaCart">@Language.Get("裸钻")</a></li>
              	}
                if (Wholesaler.Common.GetOpenMenu.IsOpenMenu("cart.inlaysettings") == true)
                {
                <li><a class="external" href="/Customer/InlaySettingsCart">@Language.Get("空托")</a></li>
                }
                if (Wholesaler.Common.GetOpenMenu.IsOpenMenu("cart.parcel") == true)
                {
                	<li><a class="external" href="/Customer/ParcelCart">@Language.Get("统包")</a></li>
               	}
                if (Wholesaler.Common.GetOpenMenu.IsOpenMenu("cart.ring") == true)
                {
                	<li><a class="external" href="/Customer/RingCart">@Language.Get("成品")</a></li>
               	}
                if (Wholesaler.Common.GetOpenMenu.IsOpenMenu("cart.gem") == true)
                {
                	<li><a class="external" href="/Customer/GemCart">@Language.Get("彩宝")</a></li>
               	}
                if (Wholesaler.Common.GetOpenMenu.IsOpenMenu("cart.emerald") == true)
                {
                	<li><a class="external" href="/Customer/EmeraldCart">@Language.Get("翡翠")</a></li>
               	}
                if (Wholesaler.Common.GetOpenMenu.IsOpenMenu("cart.gold") == true)
                {
                	<li><a class="external" href="/Customer/PrimeGoldCart">@Language.Get("素金")</a></li>
               	}
              }
            </ol>
        </li>
        <li><i class="order-icon"></i>@Language.Get("订单")<i class="more-nav-icon"></i>
            <ol class="more-menu">
            @{
				if(Wholesaler.Common.GetOpenMenu.IsOpenMenu("order.diamond")==true){
                <li><a class="external" href="/Customer/DiaOrder">@Language.Get("裸钻")</a></li>
               }
                if (Wholesaler.Common.GetOpenMenu.IsOpenMenu("order.inlaysettings") == true)
                {
                <li><a class="external" href="/Customer/InlaySettingsOrder">@Language.Get("空托")</a></li>
                }
                if (Wholesaler.Common.GetOpenMenu.IsOpenMenu("order.parcel") == true)
                {
                <li><a class="external" href="/Customer/ParcelOrder">@Language.Get("统包")</a></li>
               }
                if (Wholesaler.Common.GetOpenMenu.IsOpenMenu("order.ring") == true)
                {
                <li><a class="external" href="/Customer/RingOrder">@Language.Get("成品")</a></li>
               }
                if (Wholesaler.Common.GetOpenMenu.IsOpenMenu("order.gem") == true)
                {
                <li><a class="external" href="/Customer/GemOrder">@Language.Get("彩宝")</a></li>
               }
                if (Wholesaler.Common.GetOpenMenu.IsOpenMenu("order.emerald") == true)
                {
                <li><a class="external" href="/Customer/EmeraldOrder">@Language.Get("翡翠")</a></li>
               }
                if (Wholesaler.Common.GetOpenMenu.IsOpenMenu("order.gold") == true)
                {
                <li><a class="external" href="/Customer/PrimeGoldOrder">@Language.Get("素金")</a></li>
               }
              }
            </ol>
        </li>
        <li><i class="aboutme-icon"></i>@Language.Get("关于我")<i class="more-nav-icon"></i>
            <ol class="more-menu">
                <li><a class="external" href="/Customer/Info">@Language.Get("资料")</a></li>
                <li><a class="external" href="/Customer/ModifyPwd">@Language.Get("改密")</a></li>
            </ol>

        </li>
	    <li><i class="en-icon"></i><span onclick="changeLanguage()">@Language.Get("English")</span></li>
    </ul>
</nav>
<div class="get-top">
   <i></i>
</div>

<script>

    function toPage(url) {
        localStorage.removeItem("diaList");
        localStorage.removeItem("weightList");

        localStorage.removeItem("ringList");
        localStorage.removeItem("parcelList");
        window.location.href=url;

    }
</script>
